package com.macro.mall.demo.pattern.chain.service;

import com.macro.mall.demo.pattern.chain.AbstractBusinessChain;

public class SecondBusinessChain extends AbstractBusinessChain<String> {

    @Override
    public Boolean executeProcess(String param) {
        if (param.contains("zhangsan")) {
            System.out.println("如果是张三就交给我处理吧");
            return true;
        }
        return false;
    }
}